<% content_for :title do %>Geld storten<% end %>


<%  form_for @creditcard, :url => account_balance_path, :html => {:method => :put} do |f| %>

<%=f.error_messages %>

<p>
  Bedrag in euro's dat u wil storten:<br />
  <%=text_field_tag :amount, params[:amount], :size => 30 %>
</p>

<p>
  <%=f.label :owner, 'Naam van eigenaar:' %><br />
  <%=f.text_field :owner %>
</p>

<p>
  <%=f.label :number, 'Creditcardnummer:' %><br />
  <%=f.text_field :number %>
</p>

<p>
  <%=f.label :company, 'Creditcardmaatschappij:' %><br />
  <%=f.select :company, ['- Kies -'] + @creditcard_companies %>
</p>

<p>
  <%=f.label :expiration_date, 'Creditcard verloopdatum:' %><br />
  <%=select_checkout_creditcard_expiration_date @creditcard %>
</p>

<p>
  <%=f.submit 'Storten' %>
</p>

<% end %>